import request from '@/utils/request'

export function findCustomSendListByBillNo(page = 1, pageSize = 10, billNo = '') {
    return request({
        url: '/mobile/customSend/customSendList',
        method: 'get',
        params: {
            page,
            pageSize,
            billNo
        }
    })
}

export function insertCustomSend(data) {
    return request({
        url: '/mobile/customSend/insertCustomSend',
        method: 'post',
        data
    });
}

export function getCustomSendDetail(id) {
    return request({
        url: `/mobile/customSend/${id}`,
        method: 'get'
    });
}

export function findPlateNoByCustomSendBillNo(billNo) {
    return request({
        url: `/mobile/customSend/findPlateNoByCustomSendBillNo/${billNo}`,
        method: 'get'
    });
}
